package com.qaml.mes.device.dao;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 设备附件表
 * </p>
 *
 * @author leikai
 * @since 2024-02-27
 */
@Getter
@Setter
@TableName("t_mes_eqp_attachment")
public class EqpAttachmentDO extends BaseDO implements Serializable {


    private static final long serialVersionUID = 1519113834455865363L;
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 附件类型，image, file
     */
    @TableField("attachment_type")
    private String attachmentType;

    /**
     * 设备id
     */
    @TableField("eqp_id")
    private String eqpId;

    /**
     * 附件地址
     */
    @TableField("attachment_url")
    private String attachmentUrl;

    /**
     * 附件名称
     */
    @TableField("attachment_name")
    private String attachmentName;

    /**
     * 是否展示，1 展示 0 不展示
     */
    @TableField("is_show")
    private Integer isShow;

    /**
     * 租户id
     */
    @TableField("tenant_id")
    private Long tenantId;


}
